/*
 * @copyright fxsen <br/>
 * @date 2022/4/1 20:12 <br/>
 * @email <a href="mailto:fxsen@foxmail.com">
 * @author fxsen
 */
package com.fxsen.commons.sysmanager.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fxsen.commons.core.base.common.entity.BaseEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;

/**
 * 字典类别表
 * @author fxsen
 * @date 2022/4/1 20:12
 * @email <a href="mailto:fxsen@foxmail.com">
 */
@ApiModel("字典类别")
@TableName("sys_dictionary_category")
@TableComment(value = "字典类别表")
@Entity
public class DictionaryCategory extends BaseEntity {
    private static final long serialVersionUID = 4199040968759882159L;
    @ApiModelProperty("类别名称")
    @TableField(value = "name")
    @Column(name = "name", type = MySqlTypeConstant.VARCHAR, comment = "类别名称",length = 100)
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
